package com.ship.service;

import com.ship.commens.Result;
import com.ship.dto.DeptDto;
import com.ship.dto.DeptSearchDto;
import com.ship.model.Dept;

import java.util.Map;

/**
* @author Lucky Boy
* @description 针对表【dept】的数据库操作Service
* @createDate 2024-07-01 15:56:25
*/
public interface DeptService {

    Result findAllDepts();

    Result findDeptsByPage(Integer pageNum, Integer pageSize);

    Result saveDepts(DeptDto deptDto);

    Result removeDeptById(Long deptId);

    Result removeMany(String deptIds);

    Result findDeptsBySearch(DeptSearchDto deptSearchDto);

    Result modifyDept(DeptDto deptDto);

    Map<String,Integer> getDeptCount(Long shipId);
}
